From: kaf24@firebug.cl.cam.ac.uk Date: Sun, 14 May 2006 19:13:14 +0000 (+0100) Subject: Fix 64-bit build. xc_ptrace() is still broken for x86/64 however. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16047^2~74 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=4f08f939e2fd9bde37d430abeb1800b3753ffe7a;p=xen.git Fix 64-bit build. xc_ptrace() is still broken for x86/64 however. Signed-off-by: Keir Fraser --- diff --git a/tools/libxc/xc_ptrace.c b/tools/libxc/xc_ptrace.c index d1a6525af3..b675adc641 100644 --- a/tools/libxc/xc_ptrace.c +++ b/tools/libxc/xc_ptrace.c @@ -320,7 +320,7 @@ map_domain_va_64( if (l1e & 0x80) { /* 2M pages */ p = to_ma(cpu, (l1p + l1_table_offset(va)) << PAGE_SHIFT); } else { /* 4K pages */ - l1p = to_ma(cpu, l1e[l1_table_offset(va)]); + //l1p = to_ma(cpu, l1e[l1_table_offset(va)]); l1 = xc_map_foreign_range(xc_handle, current_domid, PAGE_SIZE, perm, l1p >> PAGE_SHIFT); munmap(l2, PAGE_SIZE); if ( l1 == NULL )